package com.ktjiaoyu.service;

import com.ktjiaoyu.entity.StorageRecord;
import com.ktjiaoyu.entity.Supplier;
import com.ktjiaoyu.utils.Page;

import java.util.List;

public interface SupplierService {
    public List<Supplier> findAll();

    public Supplier findById(Long id)throws Exception;


    public Page<Supplier> findPage(Supplier entity, Integer pageNo, Integer pageSize)throws Exception;

    public boolean saveOrUpdate(Supplier entity)throws Exception;

    public Supplier findBySupCode(String supCode) throws Exception;

    public int deleteById(Long id) throws Exception;
}
